package com.xbenben.demoroot;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xbenbenx
 * Date:2022/9/18 22:35
 **/
@Component
@ConfigurationProperties(prefix = "weather")
@Getter
@Setter
public class YmlProperty2 {

    private  String city_name;

    private String weather_key;

}
